% So you want to do euclidean distance between fuzzy vectors

v1 = [fuzzy_triangle(1,2,3), fuzzy_trapezoid(3,3,5,7)];
v2 = [fuzzy_trapezoid(0,1,2,3), fuzzy_triangle(6,7,8)];

d12 = fuzzy_euclidean_distance(v1,v2);
d21 = fuzzy_euclidean_distance(v2,v1);

fuzzy_colorless_plot(v1);
title('Linguistic vector 1');
fuzzy_colorless_plot(v2);
title('Linguistic vector 2');
fuzzy_plot([d12,d21]);

% check our difference should be miniscule 
sse = sum(sum((d12 - d21).^2))

% and here's the centroid if you're into that kind of thing
C = fuzzy_centroid2(d12)

% Pie is not this easy
